package com.xiao.ztree.sys.vo;

import com.xiao.ztree.sys.entity.Article;
import com.xiao.ztree.sys.entity.Author;
import com.xiao.ztree.sys.entity.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * description: ArticleVo
 * date: 2021/4/28 21:25
 * author: XiaoCoder
 * version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ArticleVo extends Article {

    @ApiModelProperty(value = "作者信息集合")
    List<Author> authors;

    @ApiModelProperty(value = "评论集合")
    List<Comment> comments;

}
